package com.dinzeer.slashblade_project_slr.se;

import com.dinzeer.legendreliclib.lib.util.FastMakeEntityUtil;
import com.dinzeer.legendreliclib.lib.util.slashblade.AbstractSpecialEffect;
import net.minecraft.world.effect.MobEffects;
import net.minecraft.world.entity.LivingEntity;
import net.minecraftforge.event.entity.living.LivingHurtEvent;

public class WitherEdge extends AbstractSpecialEffect {

    public WitherEdge() {
        super(30);
    }

    @Override
    public void handleLivingHurt(LivingHurtEvent event, LivingEntity attacker) {
        FastMakeEntityUtil.FastEffect(event.getEntity(), MobEffects.WITHER, 1);
    }
}
